package com.example.springsecurity.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.apache.ibatis.type.Alias;

/**
 * @ClassName AssignExperimentQuestion
 * @Description TODO
 * @Author lvyongwei
 * @Date 2020-09-24 14:30
 **/
@Data
@Alias("assignExperimentQuestion")
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class AssignExperimentQuestion {

    /**
     * 题目表id
     */
    private Long assignQuestionId;

    /**
     * 选择题题目id
     */
    private Long questionChoiceId;

    /**
     * 客观题题目id
     *      一条记录不会同时有选择题和客观题id存在
     */
    private Long questionObjectiveId;

    /**
     * 题目分数
     */
    private double questionScore;

    /**
     * 所对应布置实验的实验布置id
     *    判断是那次布置的题目
     */
    private Long assignId;
}
